//
//  NSHandle.h
//  MarryMe
//
//  Created by lanou3g on 16/1/6.
//  Copyright © 2016年 revocher. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^UpdateBlock)(BOOL Finished);
@interface NSHandle : NSObject

@property(nonatomic,strong)NSArray *HostArray;
@property(nonatomic,strong)NSArray *dataArray;

@property(nonatomic,strong)NSArray *caseArray;
@property(nonatomic,strong)NSArray *labelArray;

+(instancetype)shareHandle;

-(void)getNetWorkWithStrUrl:(NSString *)strUrl
             WithHTTPMethod:(NSString *)method
               WithHTTPBody:(NSString *)body
                  WithBlock:(UpdateBlock)block;

-(void)getDataWithStrUrl:(NSString *)strUrl
             WithHTTPMethod:(NSString *)method
               WithHTTPBody:(NSString *)body
                  WithBlock:(UpdateBlock)block;

-(void)getAllCasesWithStrUrl:(NSString *)strUrl
              WithHTTPMethod:(NSString *)method
                WithHTTPBody:(NSString *)body
                   WithBlock:(UpdateBlock)block;

-(void)getLabelWithStrUrl:(NSString *)strUrl
           WithHTTPMethod:(NSString *)method
             WithHTTPBody:(NSString *)body
                WithBlock:(UpdateBlock)block;







@end
